#ifndef _KRAW_INPUT_H
#define _KRAW_INPUT_H

#include "kraw.h"

namespace Kraw
{

class Input
{
public:
	static Input* Get();

    Input();
    void Release();

	bool Open();
	void Tick( Time time );
	void FlushEvents();

	static Input* self;

    enum
    {
    Button_Left = 0,
    Button_Right,
    Button_Middle,
    };

    int buttonFlags;
    int mouse_x;
    int mouse_y;
    int relmouse_x;
    int relmouse_y;
};

};

#endif
